package com.infinitus.activity.service.impl;

import com.infinitus.activity.pojo.DO.AuldrawVo;
import com.infinitus.activity.pojo.VO.ActivityConfigVO;
import com.infinitus.activity.pojo.VO.AwardsConfigVO;
import com.infinitus.activity.pojo.VO.QualificationVo;
import com.infinitus.activity.pojo.VO.ResponseVO;

/**
 * 抽奖服务
 */
public interface LotteryService {

    boolean checkCanLottery(String dealerNo,String ruleType);

    void saveAwardToRedis(AuldrawVo auldrawVo, String dealerNo, String qualiSeqNo, AwardsConfigVO awardsConfigVO, QualificationVo qualificationVo);

    AuldrawVo createAuldrawVo (AwardsConfigVO awardsConfigVO, String dealerNo, String qualiSeqNo);

    Integer lotteryCheck(String dealerNo, ActivityConfigVO activityConfigVO);

    ResponseVO lottery(String dealerNo);
}
